<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>入门案例</title>
	</head>
	<body>
		<div id="app">
			用户名:<input type="text" v-model="username"/>
		    密码:<input type="text" v-model="password"/>
			<br>
			{{username}}
		</div>
		<!-- 基本语法 -->
		<script src="../js/vue.js"></script>>
		<script>
		 var app=new Vue({
			el: "#app",
			data: {
				username:'',
				password:''
			}
		})
		</script>
	</body>
</html>
